﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WeddingEventManagement_API;

namespace WeddingEventManagementApp.Tests
{
    class ClientTest
    {
        public static void Main()
        {
            ClientManager cm = new ClientManager();
            //List<ClientPhone> phones = new List<ClientPhone>();
            //phones.Add(new ClientPhone { AreaCode = 905, Exchange = 844, LineNumber = 1999, Extension = 223, PhoneNumberTypeID = (int)PhoneNumberTypeEnum.Business });
            //int id = cm.CreateClient("Seccond",
            //    "Sanwich",
            //    "loveit@wich.com",
            //    "1234 San Steeze",
            //    "Im making like 5 sandwiches off this shit",
            //    phones,
            //    new Guid("E3F083D9-53BB-4850-AF58-19A2719C0315"));

            //Client client = cm.GetClient(1045);
            //client.Address = "Updated addy bitch";
            //cm.UpdateClient(client, new Guid("E3F083D9-53BB-4850-AF58-19A2719C0315"));

            List<Client> clients = cm.GetClients();

        }

    }
}
